package com.example.demo.service;

import com.example.demo.bean.Regional;
import com.example.demo.common.ServerResponse;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author ouyangzhixiang
 * @date 2018/6/23
 */
public interface RegionalService {
    ServerResponse<List<Regional>> list(Integer parentId);
    ServerResponse findOne(Integer id);
    ServerResponse<Regional> addRegional(Regional regional);
    void deleteRegional(Integer id);
    ServerResponse<Regional> regionalUpdate(Regional regional);

}
